package com.txby.wxyyApi.data;

import java.util.HashMap;
/**
 * 公用api数据对象
* @ClassName: CommonApiModelMapExt 
* @Description: TODO （描述）
* @author 作者 jacking
* @date 2017年6月23日 下午3:29:01
 */
public class CommonApiModelMapExt extends HashMap<String,Object>{
   public final static String CODE="code";
   public final static String MSG="msg";
   public final static String INFO="info";
   private String code;
   private String msg;
   private String info;
   
   public CommonApiModelMapExt(){}
	public String getCode() {
		return super.get("code")==null?code:super.get("code").toString();
	}
	public void setCode(String code) {
		put("code", code);
		this.code = code;
	}
	public String getMsg() {
		return super.get("msg")==null?msg:super.get("msg").toString();
	}
	public void setMsg(String msg) {
		this.msg = msg;
		put("msg", msg);
	}
	public String getInfo() {
		return super.get("info")==null?info:super.get("info").toString();
	}
	public void setInfo(String info) {
		this.info = info;
		put("info", info);
	}
	public CommonApiModelMapExt(String code, String msg, String info) {
		super();
		this.code = code;
		this.msg = msg;
		this.info = info;
		put("code", code);
		put("msg", msg);
		put("info", info);
	}
	   
   
 

}
